fix authentication search params