moved LoginViewController test out of AppDelegate test