shell: Make Password field get focus automatically

Make the behavior of primary input field consistently and more user-friendly.

Closes #1032
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Adjust code format

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>