Pass the user manager here: `$application->add(new OC\Core\Command\ResetPassword(\OC::$server->getUserManager()))`