Had to reset the state after the user fails to login so it isn't stuck in a saving state.