shell: hides unneeded authentification row

If there is only one option in the authentification selecter, the whole
authentification row is hidden.

Fixes #951
This brace should be on previous line, as should the one below.