Integrate linked user filter

Needed for https://github.com/dimagi/hsph-reports/pull/30

tested the slight get_all_users_by_domain refactoring by viewing the Case List report and verifying that individual worker filtering worked as expected