If you receive this message on a vm that previously worked, the following PowerShell command may fix your problem. First you will have to log in as the local computer admin, and run the following PowerShell commandlets:
Test-ComputerSecureChannel -repair -verbose
Note: -verbose is optional, as is the first commandlet:
After a reboot, you should now be able to login with the domain account again.