I would tend to think you have a CORS issue with your cookies: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#preflight_requests_and_credentials