Restore procedure

Restores the stored procedure user_ids_from_cohort_and_master_group
which was removed accidentally in migration
[405d7121f59fd1a48b9f1c81e71e727bb3858dc5].