[fix] fixed creation of auth server by retrieving refresh token