Added Web Api cookie support