[useradmin] Fix the autocomplete API tests