socket auth fix