Define $role variable in User_Command::generate()

This fixes role-setting when generating users.