The expire_old_entitlements management command was passing a Paginator object to celery, which it can't serialize when it is running async. Instead, we'll do the pagination manually inside the task code and simply pass it integers.