Actually if I consol.log the folios entitlementType on the updateLibrary handler it's still the same as before I login or out. But if I look at it later it gets updated as it should.
I'm Using api v1. I asked to be updated to v2.
I Don't know if it makes any difference.
I Know there is an updateSignal on the folio. But that doesn't do it for me