ported part of commit d4ebe986ab16d79c8be60c74fca303e803f6b346 of USM-RCG: debug field worker password hash generation