set password encryption type