Set csrf cookie for backbone to use in xhr request header.