8-bit fixes for pass_gen.pl. The issues were not really caused
by recent dropping of Authen::Passphrase, but found due to it.

The raw-sha1 fix is totally logical. This indicates that the
Digest::SHA1 module is written correctly. What is much more
alarming is that no other Digest:: module seem to need it...