request= createRequest("/foo/bar");
response= new MockHttpServletResponse();
chain = new MockFilterChain();
headerValue=clientDigestString(tmp, GeoServerUser.ROOT_USERNAME, getMasterPassword(), request.getMethod());
request.addHeader("Authorization", headerValue);
getProxy().doFilter(request, response, chain);
assertEquals(HttpServletResponse.SC_OK, response.getErrorCode());
ctx = (SecurityContext)request.getSession(true).getAttribute(
HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY);
auth = ctx.getAuthentication();