[frontend] Rework login.