Error: 'Failed to authenticate' after performing an in-place upgrade of the operating system