Fix support for HTTP-auth (via 'auth' argument)