Fix authentication issues for owncloud repo