fix cookie capitalization errors