Simplified AuthenticationUtilService to avoid any dependency on RS. It uses only injected httpServlet.