The game stores session related data into the local storage of your browser, so clearing it and refreshing the game page should allow you to log back in.
For Chrome you could use this guide https://developer.chrome.com/docs/devtools/storage/localstorage and Firefox has similar functionality through its developer tools (but no official how to I could find).