Add support for HTTP auth