[FIX] WebDAV: fixed authentication and authorization. Closes #923