Check if the password is at least 4 chars long

Fixes #19