Fix invalid password error when not pasting password

Fixes #11