gnome calendar keeps asking for google password
as described in this launchpad bug: https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1726922.
Once in a while, perhaps two or three times a day gnome-calendar pops up a dialog asking for my google password.
I have two online google accounts set, but the problem begun after I upgraded from zesty, where I had those two accounts as well. They didn't appear in the new settings application, but still gnome-calendar was asking for the password. One of them has two phase authentication set and the other not.
After I added the online accounts in the new settings app, the calendar is synchronized but it still popping the authentication window and is very annoying.
I'm running ubuntu 17.10 and this happened just upgraded from ubuntu 17.04.