Standardized the client side password validation

Standardized the password validations in user registration, forgot password ,reset password, and account settings/change password according to the installation procedure