diff -r d2361abe8505 -r 948a9f8514b2 web/views/authentication.py
--- a/web/views/authentication.py	Fri Oct 08 11:11:31 2010 +0200
+++ b/web/views/authentication.py	Fri Oct 08 11:54:17 2010 +0200
@@ -79,7 +79,7 @@
         return login, {'password': password}
 
     def request_has_auth_info(self, req):
-        return '__login' in req.form
+        return req.get_authorization()[0] is not None
 
     def revalidate_login(self, req):
         return req.get_authorization()[0]