add login throttle test
fixed failed login bug