eZ publish 2.2 used mysql password hashing, so if you want to import old users you have use 4 as the password_hash_type. Once the user logs in the password hash will be changed to whatever is set as the sites hash type.
Types 1 to 3 are md5 hashes where 2 is the recommended.
Type 5 is for entering passwords in plain text, this is useful for manually changing the password if a user have forgot it. Again the hash will change once the user logs in.