Added support for HTTP Basic Auth