Better code reuse with _setupOAuth()