Fixed typo and using Base64 for HTTP auth