Added proxy setting to cookie so that secure cookies will work