Bug fix: reset failedLoginAttempts to zero after successful login. Improve logging