Misc. typos, optim. or fixes

`+` KISS password generation
? but `$user!==FALSE AND ` is evaluated before `$user->id_role=`

do you mean `$user` can be NOT FALSE AND `$user->id_role` NOT set?