[FIX] chrome.js: detect correct error type for session expired