Symptom

Sometimes I need to log in again when accessing a viewport

Cause

This happens when the viewport uses a different domain than the Confluence system. In this case the browser will not send the session cookie to Confluence, because it thinks it is a different server

Resolution

Log back in with your normal Confluence credentials