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

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

first step in #762