title: Browser doesn't set cookie, despite of response header
body: <p>I have a AngularJS web application with a REST-API (written in PHP). My JS App has a 'POST' method for the login.</p>
  <ol>
  <li>I 'post' my username and login to an API</li>
  <li>The post is successful, and the response header has 'set-cookie'</li>
  </ol>
  <p><img src="https://i.stack.imgur.com/njCBI.png" alt="enter image description here" /></p>
  <p>I can also see the cookie via Chrome Dev Tools in the response:
  <img src="https://i.stack.imgur.com/8AaSb.png" alt="enter image description here" /></p>
  <p>But the Browser doesn't set it. Does anybody have a suggestions or a solution for this?</p>
  <p>EDIT: My POST-method is a Ajax call via jQuery.</p>