fix cookie options

I wanted to set the cookie domain for use with multiple subdomains. Fidgeted some and noticed that that maxage wasn't working either.