Made AuthenticationProvider a proeprty instead of ctor param.