Is logging out and back in again a good way to deal with problems? Although it can be, it might not do what you think it does any more.
Signposts from Sierra 10.12.6 recording key steps when logging in, out, and fast user switching. And a fascinating process which serialises its log entries.
You suddenly can’t remember your password, or your Mac won’t accept what you think is your password. What do you do next?