Fix password prompt

Fix issue with password login and make password_prompt settable in options.