Spent more than a couple of hours tracking this one down… frustrating. When you call Gateway.Send(dto) from an un-authenticated call (in my case, nested two deep) on a method that has RequiresAnyRole it gets the below exception. I will try to work on a repro for ya.
System.NullReferenceException: Object reference not set to an instance of an object.
at ServiceStack.TaskExt.GetResult(Task task) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack.Common\TaskExt.cs:line 54
at ServiceStack.Host.ServiceController.Execute(Object requestDto, IRequest req) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\Host\ServiceController.cs:line 612
at ServiceStack.InProcessServiceGateway.ExecSync[TResponse](Object request) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\InProcessServiceGateway.cs:line 70
at ServiceStack.InProcessServiceGateway.Send[TResponse](Object requestDto) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\InProcessServiceGateway.cs:line 199
at ServiceStack.ServiceGatewayExtensions.Send(IServiceGateway client, IReturnVoid request) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack.Client\ServiceGatewayExtensions.cs:line 18
at TextbookWM.LMServices.Any(sendDOReq req) in /TextbookWM/ListingMirror/Impl/LMServices.cs:line 430