TeamViewer 15 hangs after remote control in the Windows Authentication dialog

I have TeamViewer 15.21.8 and a corporate licence.

I have noticed a problem:

1) Connect to a remote computer

2) Disconnect from the remote computer

3) TeamViewer opens a Dialog "TeamViewer" and "Signing in with Windows Authentication" (see below).

It is not possible to close this dialog and since it is modal the rest of the TeamViewer user interface is not responsive.

The only solution is to end the TeamViewer task in Task Manager.

Please help. Is there a setting that needs changing?