Implemented simple HTTP basic authentication.