Fixed an uninitialized variable that was preventing login