support old-style crypt password