Adding support for HTTP Basic Authentication