Fixed the upgrade screen to logout if sql user is enabled