Improving secret validation.