bug-fix: patches must be twice runnable

fix upgrade patches to procedures that test whether
the patch has already been applied
bug-fix: assignment unique key, null sabretooth mg

add unique key to assignment table on user and participant id's,
check in for user access to tracking cohort before trying
to use sabretooth manager to get tracking recordings