Pass request to oauth server

Pass the request to the oauth server so it doesn't have to recreate it from globals.