ws auth fix