Add bug-fix for logout in second tab and second browser