Fix authstatelistener