Added support for specifying password policy when creating an account or changing password (currently minimum and maximum length).