Fix login tests after the introduction of two factor

Fixes Inboxen/website#55