SSHA256 and show_encryption fIxes for passwd and Horde_Auth

The commits in this pull request were needed to get password changes working on a system using SSHA256 hashes with show_encryption set to true in the backend configuration. Additional tests have been added to cover these changes.