issue #19227: flag if password reset is due to new user
Merge pull request #410 from davecramer/master

production mode for update script
Merge pull request #411 from shackbarth/19227

issue #19227: flag if password reset is due to new user
use bash and added inverse logic to test