Added base64 encoding of user:pwd