Use JSON in POST /authorized
Updated user mode access token code and tests