Fixed some other glitches for login utils