Fix MetricsServletTest.