Add a param not to clean expired passwords, add unit tests
Some changes on pasword generation; refs #731
Another check on passwords unit tests