Check if the password is empty - Fixes #19

check if the password is empty
And please add a `;` after this line then (atheros voted for it and i prefer it too)