Prevented infinite login spinner
Prevented infinite login spinner