Small fixes + small improvements (password generation)