A rather unappealing attempt to make the credentials field WYSIWYG... though I do not like how this looks, so would like it to be reviewed.