[HUE-2411] limit fetching autocomplete users and groups to 2000

This works around a bug in the frontend that fetches and caches the
users and groups for autocomplete text input areas. Eventually this
should be replaced with a query to the backend.