public static async Task <TClientType> GetAuthenticatedClient <TClientType>(int user) where TClientType : ImperaHttpClient { return(await GetAuthenticatedClient <TClientType>( "TestUser" + user, ApiClient.GetUserPassword(user))); }