Fix parsing od username and cache dir in Factory::ConfigParameters().