MDL-58857 admin: Terminate the session if a major upgrade is required