@Test
public void testFailNoEncoding(){

	Exchange exchange = new DefaultExchange(context);
	
	Api api = new Api();
	api.setId("123");
	// Setting the username = "win" should succeed
	exchange.getIn().setHeader(AuthHttpHeaders.Authorization.toString(), "Basic "+"win:blarg");
	HttpBasicExecutor executor = new HttpBasicExecutor(new MockAuthDataAccess(null, "win:blarg", null));
	
	AuthReport authReport = executor.checkAllowed(exchange, api);
	assertNull("This authentication should have failed", authReport.getAuthIdentity());
}