NF: Middleware from Django Snippets that requires login for all page views.