Adjusted password generator.

AFDP-112