Authenticate fix