Upgrade password hashing from SHA1 to SHA256.