Index: /trunk/packages/invirt-web/code/main.py
===================================================================
--- /trunk/packages/invirt-web/code/main.py	(revision 2978)
+++ /trunk/packages/invirt-web/code/main.py	(revision 2979)
@@ -98,4 +98,7 @@
 
     def __getattr__(self, name):
+        # At the point __getattr__ is called, tools haven't been run. Make sure the user is logged in.
+        cherrypy.tools.remote_user_login.callable()
+
         if name in ("admin", "overlord"):
             if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.afs.cells[0].cell):
