Fixed critical bug with http authentication: longer user/pass combinations were incorrectly base64 encoded.