Completed password policy validation and generate password based on policy