XWIKI-8465: Unable to upload a new attachment using the "All pages" tab in the WYSIWYG editor
* Add functional test.
(cherry picked from commit 4c9e4990b3c1c5e819f10f6004888101ba53e9a4)