small bug fix in js auth stuff with deleting localStorage all other instances