Fix for HTTP auth