server auth fix