In my case it worked perfectly - changing 127.0.0.1 to localhost solved the problem and I was able to login.