All of the login methods need to do (effectively) the same thing once we have a token, so refactor this out into something we can reuse.
All of the login methods need to do (effectively) the same thing once we have a token, so refactor this out into something we can reuse.