dyngroup: Fix/improve performance on glpi entity autocomplete

Filter only on entities current user can access
Improve autocomplete speed