Cookies are expected to be convertable to byte-streams.

werkzeug.wrappers.set_cookie expects the "value" parameter to be a string, and not an int.

This fixes: https://github.com/zbeanz/openerp-7-web-addons/issues/4