Disable login while logging in, re-enable it when an error is fired.