XWiki-6769 : Login is not protected against CSRF attacks. Minor test enhancements