Fixed bug where blank pwd on reset logged in without resetting or throwing error