Deprecate the simple password hash functions. Fixes #794.