make key a password field by default as requested by @Phhere

add a checkbox to show the key if checked