EZP-19971 - Added a way to disable csrf protection if needed.