Tests for the password encrypt transform.