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

	String uri = "cookie";
	addListener(uri, Methods.POST, AuthMethods.HEADER);
	Map<String, String> headers = new HashMap<String, String>();
	headers.put("Authorization", "blalablaaaa");
	Response result = service(createRequest(uri, Methods.POST, "{\"tralalalallala\":true}", headers));
	assertEquals(401, result.getStatus());
	assertFalse(result.containsHeader("Allow"));
	assertNull(result.getErrorMessage());
}