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

(cherry picked from commit 3ae80936d4492032c431f732a2a986d77876095c)