Rework login view so we can reuse it more easily when user isn't determined by form
Rework login view so we can reuse it more easily when user isn't determined by form

nyaruka/smartmin,nyaruka/smartmin,nyaruka/smartmin