Fixed bug on auto password generation (#55061 in forge)