Some basic checking for the authentication header. 

If no authentication header is present it should just fail instead of actually trying to parse a header. 
Also if the header does not have the scheme basic it should also fail.