Fix password validation failure for all crypt
and crypt_r based algorithms.

PR: 54603

Submitted by: Harvey Eneman <harvey.eneman oracle.com>


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1449308 13f79535-47bb-0310-9956-ffa450edef68