I am building self-hosted web server on this stack: OWIN Nancy Web Api 2
And I am using Microsoft.Owin.Security.Cookies from Katana for forms-like authentication. I
You could be encounting a similar issue to: Safari doesn't set Cookie but IE / FF does
Try setting the HttpStatusCode to HttpStatusCode.Ok
Some browsers will only accept cookies from a certain response code (like 200, 302).
I resolved the issue. It was because 'domain=localhost'. It seems to 'localhost' isn't valid value for domain parameter.