Don't pass passwords with NULL to libscrypt
Test null handling more comprehensively