chore(csrf): Update tests for moving CSRF settings to view middleware.