Setting up, a way to stay logged out of your cloud storage account

Hi, I always use “custom cleanup” before shutting down my computer, but SOMETIMES the program’s Google Drive authorization fails when I turn on the computer. What am I doing wrong?