Adding Password Prompt
Add tests and some fixes to the password prompt. (Fix #12)