Add ssha function for generating salted SHA1 hashes
Make argv argument tests more consistent