Test fixed and ensure_csrf_token added.