title: Magento customer login page loads again straight after login and Frontedn cookie not getting created
body: <p>Magento (V 1.12) redirects me back to the Login page straight after a user logged in. If I look at requests list in Fierbug after pressing the login button it shows me,  </p>
  
  <pre><code>http://dev.myweb/customer/account/loginPost/
  http://dev.myweb/customer/account/
  http://dev.myweb/customer/account/login/
  </code></pre>
  
  <p>So its going back to the login page. Even if I try to manually copy and paste the <code>http://dev.myweb/customer/account/</code> on the browser it goes back to the login page.</p>
  
  <p><strong>Following line added after some debugging through the issue</strong></p>
  
  <p>This happens because frontend cookie is not getting created when the session starts. Why its not getting created is the issue</p>
  
  <p>This happens only on my local environment. It really frustrating. Any ideas? </p>