Implement HTTP Basic Auth.