@Test
public void cookieNotFoundInCache401() throws ServletException, IOException, ListenerException, ConfigurationException {

	String uri = "cookie";
	addListener(uri, Methods.POST, AuthMethods.COOKIE);
	Map<String, String> headers = new HashMap<String, String>();
	MockHttpServletRequest request = createRequest(uri, Methods.POST, "{\"tralalalallala\":true}", headers);
	Cookie cookies = new Cookie("authenticationToken", "myToken");
	request.setCookies(cookies);
	Response result = service(request);
	assertEquals(401, result.getStatus());
	assertFalse(result.containsHeader("Allow"));
	assertNull(result.getErrorMessage());
}