fix build failure on apiary-authenticate.