Login Screen Frozen - Mac OS

Your mac was not able to resolve localhost.

It seems that localhost is set to a different IP in the hosts file.

Check the hosts file.