Pass URI into auth functions, not ServiceRoot.