Contract selector for Admin users.
Contract selector in publications grid.
Fix contract repository test.