fixed api-auth build