On Windows 7, old Microsoft .NET Framwork causes login to fail.
To upgrade .NET Framework, visit this Microsoft page, download, and install the latest .NET.