Standardized the client side password validation

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