Fix for issue 6 in martini-contrib/csrf