Disable Apple's two-factor authentication nag
Even if you don't want to set up 2FA, choose the Continue button from the top of the iCloud pane, then you can choose the "not now" option and the warning will disappear.