Discourse sso login using Rest API

For mobile apps always prefer to use the user api, see:

「いいね!」 4