Fix for HTTP Basic/Digest Authentication