Added some support for CSRF testing