Fixed duplicate events calling login() in Login app.