Miscellaneous fix to X-CSRFToken header class