Move DAV server creation to factory.