Implemented HTTP Basic authentication.