Actually re-exporting cookies finally worked. I would suggest to use Firefox + plugin as something went wrong with Chrome + plugin (either cookies from several accounts were mixed or…)
I have found this out by looking at the following logs:
DEBUG [locationsharinglib.Service] Getting personal account page and its cookies...
...<div>Google Account</div><div class="gb_nb">Wrong User</div><div>[email protected]</div>...
Actually I have come up with the following minimum list of required cookies (in case someone is interested in a shortened version of cookie file):
.google.com TRUE / FALSE 1675944824 APISID ...
.google.com TRUE / FALSE 1675944824 HSID ...
.google.com TRUE / FALSE 1623866185 OGPC ...
.google.com TRUE / FALSE 1675944824 SID ...
.google.com TRUE / TRUE 1675944824 SSID ...
myaccount.google.com FALSE / TRUE 1675944824 OSID ...