--- gvfsbackenddav-latest.c	2009-06-08 18:56:14.000000000 +0200
+++ gvfsbackenddav-latest-patched.c	2009-06-08 19:17:51.000000000 +0200
@@ -748,6 +748,10 @@
   if (uri == NULL)
     return FALSE;
 
+  /* copy over username and password to uri */
+  soup_uri_set_user(uri, target->user);
+  soup_uri_set_password(uri, target->password);
+
   res = dav_uri_match (uri, target, TRUE);
 
   soup_uri_free (uri);
