Fix error after logout if cms_permission are active

Solved in django-cms 3, but this is a beta :-/

https://sentry.markusholtermann.eu/europython/staging/group/66/