Updated to new package restore in NuGet 2.7
Made AuthenticationProvider a proeprty instead of ctor param.