only remember auth info if last login was successful