In my case, for some reason the cookie (.erlang.cookie) stored under C:\Windows\ was different from the one I had stored under my home (%HOMEDRIVE%%HOMEPATH%, which was C:\ for me).
Once I copied the cookie from C:\Windows into my my home folder everything started working.