Corrected issue with basic authentication in HTTP