Fixed the authorization encoding.