@Test
public void testUnauthenticatedRequest() throws IOException, SAXException {
WebClient webClient = new WebClient();
HtmlPage page = webClient.getPage(base + "/LoginServlet");
String responseText = page.asText();
// WebRequest request = new WebRequest(new URL(base + "/LoginServlet"), HttpMethod.GET);
// WebResponse response = webClient.getWebConnection().getResponse(request);
// String responseText = response.getContentAsString();
assert(responseText.contains("isUserInRole?false"));
assert(responseText.contains("getRemoteUser?null"));
assert(responseText.contains("getUserPrincipal?null"));
assert(responseText.contains("getAuthType?null"));
}