Check password policy on the client side when changing password
When changing password, the user will get an server-side error if the new password does not match the policy defined in the portal
We should do some JS checks so that the user can get better feedback
Quick mockup: