Index: httpauth.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/httpauth/httpauth.module,v
retrieving revision 1.15
diff -u -F^f -r1.15 httpauth.module
--- httpauth.module	21 Apr 2008 12:46:51 -0000	1.15
+++ httpauth.module	22 Apr 2008 07:08:38 -0000
@@ -114,7 +114,7 @@ function httpauth_boot() {
     global $user;
 
     // Abort if the user with the provided credentials is already logged in.
-    if (strcasecmp($user->name, $name) == 0) {
+    if ($user->uid && strcasecmp($user->name, $name) == 0) {
       return;
     }
 
