Add support for HTTP basic auth