XWIKI-11315: Different sizes for the Search/Contribute boxes when logging out

(cherry picked from commit 5a720db2294f5ae97b6bcc9c3489cedfdc6e3b02)