Modify the encoding of crypted_password. fixes #1121.
Merge pull request #1425 from namusyaka/fix-sqlite-error

Modify the encoding of crypted_password.