Bug fix: prevent the old login view from appearing.