Authorization auth = Authorization.of(request);
if (auth == null) {
unauthorized(response);
return;
}
<BUG>if (!auth.isForScheme(BASIC_AUTHENTICATION)) {
</BUG>
response.status(BAD_REQUEST).done();
return;
}

Authorization auth = Authorization.of(request);
if (auth == null) {
unauthorized(response);
return;
}
if (!auth.hasScheme(BASIC_AUTHENTICATION)) {
response.status(BAD_REQUEST).done();
return;
}
