fixed http auth base64 encoding