Adding username/password support for HTTP