Use SHA256 password hashing

Instead of md5 hash, use a SHA256 hash seeded by "$6$" + 16-char random[ish] string, per this comment: https://workaround.org/ispmail/wheezy/preparing-the-database#comment-3033

A better solution would be to make this configurable (and probably use a new function to generate the hash depending on the config).