webadmin: Authentication method doesn't change when using arrow keys

UI doesn't refresh when adding a new host
and user moves between password and ssh
publickey using arrow keys,

Change-Id: I4c84d5c98d66dc5785429570cfa36c3e17f760e9
Bug-Url: https://bugzilla.redhat.com/999636
Signed-off-by: Ravi Nori <rnori@redhat.com>