Encode authorization information to base64 without newline

This commit will encode as base64 using encode_base64url from MIME::Base64, which doesn't add a newline at the end of the encoded string.