Fixed a problem preventing login