[1190] Core/Password: try to fix createPassword(key) function

Signed-off-by: Chiruclan <development@chiruclan.de>