Typed URI building, plus fake authentication.