Fix "can't establish current session"