Error only occurs if I added the ServiceStack.Authentication.Aad via nuget. There's no error if I copy the AadAuthProvider code to a temporary class.