Remove security search from portal_properties to registry code.