можно в в либе проверять token
code
$svar=$this->GetSessionVar();
// don't cache for logged in customers or affiliates
if( !empty($svar['customer_id']) || !empty($svar['affiliate_id'] || !empty($svar['token'']))) {
$this->cacheable=false;
return $this->cacheable;
}