Move auth object instantiation to provider