fixed client test auth process