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
I resolved the issue. It was because 'domain=localhost'. It seems to 'localhost' isn't valid value for domain parameter.