Improved crypt() fallback in password class