Thanks @niosus for posting possible solution, however, I found another way on which we do not need to hack the core file like wp-login.php as it will be overwritten when updated and besides testcookie have different security perspective. Here is what I did.
In function.php of theme I added:
//fix for cookie error while login.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH )
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
Hope this will help others as it solved in my case.
I am also facing the same problem with both FF and Chrome. I discover this behavior after updating to 3.7.
If anybody found the solution please let us know.
I also got the same problem after updating to 1.4.13. If anybody found the solution please share it.