refactor(client): Separate `/force_auth` specialized code from `/sign_in` code.

* Add a helper function to session.js -> isSync

first step in #762