Fix session token problem