Okay, fixed all the calls to reverse.
Lesson: Beware of strangers fixing all your tech debt. Test more things!
logout users on browser close