Use dialog(1) keybinds to change TAB behavior for password prompt

Ticket:	#6264