Outlook 365 says need password but the login window flashes after password change

Was able to fix this today by

-Open Microsoft Word

-On top where the user name is displayed, sign out

-Sign in again with the new password.

-Open Outlook again. Somehow it works.