MDL-20365: Allow external database authentication to use secure crypt() hashes
This will allow Moodle external databases which are used for Moodle authentication to use any of the many salted hash algorithms that are supported by crypt(), and in better algorithms that crypt() adds in the future.