[3.8] Fix API authentification