Use `django.contrib.auth.views.redirect_to_login` to redirect to the login page (see https://github.com/divio/django-cms/blob/develop/cms/views.py#L136)