Passing user object instead of token when authenticate with oauth.