Extract common search setup into Aptrust::GatedSearch