Index: gvfs-0.2.3/daemon/gvfsbackenddav.c
===================================================================
--- gvfs-0.2.3.orig/daemon/gvfsbackenddav.c	2008-04-22 10:50:00.000000000 +0200
+++ gvfs-0.2.3/daemon/gvfsbackenddav.c	2008-04-22 10:50:37.000000000 +0200
@@ -283,6 +283,10 @@
 
    old_uri = soup_message_get_uri (msg);
 
+   /* copy over username and password to new_uri */
+   soup_uri_set_user(new_uri, old_uri->user);
+   soup_uri_set_password(new_uri, old_uri->password);
+
    /* Check if this is a trailing slash redirect (i.e. /a/b to /a/b/),
     * redirect it right away
     */
