HADOOP-8988. Allow configuration of authorization for JmxJsonServlet and MetricsServlet. Contributed by Jing Zhao.