Clarified security error messages for debugging.