Remove needless complexity from app.login()