modify request_token helper for foreman