Check for success after login attempt to prevent infinite failure loop.