@scap I'm not completely sure what was going on with that gist - there were multiple copies of "initialiserequestcontext" and "addstate" added to the filter. Regardless, I've updated it and it seems to work now. Take a look and see if it solves your problem. https://gist.github.com/daviddenton/68cced7d2f7bff981898155192f1912b