upgrade cookie handler for flask 0.10