As far as a code "work around" is concerned, there is nothing that you can do.
Various code "work arounds" have been attempted, but if the code doesn't have authorization to do something,
then it doesn't have authorization to display information to the user.
All you can do is constantly explain to people to not log into multiple accounts.
The best thing to do is provide a conspicuous message to people about the problem.
You should show a message to the user when they first install or use your app.
So, warn them at the beginning about the problem.
To get the problem fixed, more people need to complain.
There are serious issues with Apps Script that are unresolved.
It's obvious that Google is either unwilling or incapable of fixing these issues in a timely matter.
If Google stated that they were willing to fix the issues, but then they didn't do it,
then we could assume that they are incapable of fixing the issues.
If they are incapable of fixing the issues, then what does that imply about the level of competency?
At the very least, these serious issues hinder the potential for success.
It's clear that Google is prioritizing other things.
How far down on the priority list is Apps Script? I don't know, but it seems to be quite low.
If Google is unwilling to fix these serous issues,
then it implies that Google has a lack of respect and caring for the developers and their users.
Regardless of what the overall priority of Apps Script is to Google, these issues are critical.
It's hurting the image of Apps Script and making it look bad.