Add support for accounts using two factor authentication (fixes #118)

Spots when the login action returns a 302 indicating there is the second login step of two factor authentication involved and handles that in the same manner as before.

Third attempt, now from a side branch and the correct one at that.