Fixed bug with incorrect authorization encoding.
Can now sign out.