Make HMAC work with basic authentication with hack.