Might be a browser cookies issue.
Open Safari.
From your Safari menu bar click Safari > Preferences then select the Privacy tab then click: Remove All Website Data
Quit then relaunch Safari. Then monitor to see if you see the pop up for, "session has expired"
If you are using a different browser to login to iCloud.com, delete cookies there also.