Got the problem too, I do webLogon every hour and on session expire and still got the error "not logged in", tried few solutions like complete relogin but it told me i was already logged on, and it also throws error like "You cant connect to steamcommunity.com" or something like that. Now my customer is angry his bot is logging out and I cant find solution, if someone does please share it