Adding support for http_auth