shell: hides unneeded authentification row

If there is only one option in the authentification selecter, the whole
authentification row is hidden.

Fixes #951