Implement `add_users_to_cohorts` cohort API.