Login error logging now distinguishes between error and wrong credentials.