Fix race condition for transitions
Fix race condition for transitions

When redirecting back from a successful login, onAuth gets called twice,
once with `null` and once with valid user data, and both
`transitionTo`'s get called. Ensure the transition to `index` gets
called later by using `setTimeout`.

kentor/notejs-react,kentor/notejs-react,kentor/notejs-react