Enforcing password requirements upon python validation.