[fix] Auto login on createClient