Changed password generation to use SecureRandom bytes.