Update authenticate for ClientAPI