Fix basic authentication in HTTP proxy