Fixing CSRF form base for PY3 compat