Updated the fix for BZ#1034539 - WebDAV not working, so that it uses a consistent rest provider mechanism.