Hi Anton,
Thanks for the reply. I didn't even see that. I moved the token assignment to the loginUserBySessionToken call where it belongs, but when I run the code without token, I am still seeing a token value in the el object and am still getting the same error. I assume that value must be cached, and if so, do you know how long it is cached for?