Add support for HTTP basic authentication.