XCOMMONS-377: "xwiki" repository handler should use preemptive authentication
(cherry picked from commit 37df770383f02adbb9caafd6c29dd3c26c357d7c)