Bug/blocked third party cookies

fix for third party cookie bug
You are right. Part of my attempt to refactor was to simplify this and use promises more properly. I'll put some time to recode this today.