Add ability to set cookies in handlers