Can't login to iCloud via system prefs
Like so many others on here I haven't been able to log into iCloud via the system preferences.
1/ Enter the username
2/ Next
3/ Enter password
4/ Next
5/ Seems to be working...
6/ Back to step one.
The password is correct and allows login on icloud.com account via a browser.
I created a new iCloud account, couldn't log into that either.
On the same Mac Pro laptop in a different user account there is no problem.
Not sure if the problem is related but the Email account will no longer work to a non apple domain on iMap. I can set up this email account without any problems on the other user on this laptop.
I have tried reinstalling Mojave. No change.
Are there any fixes for this other than deleting the relevant user account and recreating?
MacBook Pro with Retina display, macOS Mojave (10.14.1)