Work with oauth'd api

Enable oauth login in switcharoo.
nit: `if (err) {`