Fix for tests with user password encryption.
Test for saving a user with an encrypted password.