No Windows identity for domain\user (in ULS Log)

I got this error together with some issues caused by an outdated SSL certificate (SP 2013 farm).
To fix it do this steps on all SharePoint servers:
1. Browse: C:\Program Files\Windows Identity Foundation\v3.5
2. Edit c2wtshost.exe.config
3. Add <add value=”NT AUTHORITY\Authenticated Users” /> to the <allowedCallers>

The modified file will look like this:

You will probably also need to restart the server.