Validate a password against the wiki's password policies.