Improved logging in ResendActivationCode.