fixed bug where quitting from client side would cause authentication error on server side