// Setting the username = "win" should succeed
// This one is bad because it is missing the space between Basic and the user/pass
exchange.getIn().setHeader(AuthHttpHeaders.Authorization.toString(), "Basic"+new String(Base64.encodeBase64("win:blarg".getBytes())));
HttpBasicExecutor executor = new HttpBasicExecutor(new MockAuthDataAccess(null, "win:blarg", null));
AuthReport authReport = executor.checkAllowed(exchange, api);
assertNull("This authentication should have failed", authReport.getAuthIdentity());
}