add password validation for Identity provider