Update to explicitly throw an exception if CreateAuthenticedUri is called with query parameters.