will set login fail times to 0 once login success.