Cannot access icloud.com on Safari browser any longer
Hello
I am no longer able to access my icloud account when going to icloud.com using Safari on my iMac. I can access it using a different browser such as Firefox. And I can access it on my laptop which is running the same version of Safari and MacOS. So it has something to do with my browser on my iMac only.
I believe it started at some point when I asked it to keep me logged in (or the equivalent to that command) when signing in. So now on this machine when I go to icloud.com, it just spins its timer like its trying to log me in, but never does and eventually gives an error. The log-in screen never comes up (which is why I'm assuming it may have to do with when I selected the keep me logged in option). I can't seem to log out or get it to forget being logged in on this browser to try and solve the issue.
Any suggestions would be great? I tried deleting history and cookies, but still won't pull up the sign in screen on my iMac / Safari only. Thank you!
iMac 21.5", macOS 10.13