[fix] Fix sso conf on upgrade file and remove unused dependencies from install.