Handle signals when asking for password

C-c and C-z no longer interfere with Profanity when asking for password.