Fixes #19

check if the password is empty