Fixed checkCapability() params in getPasswordPolicy().