Added authenticate(username, password) to ndexClient.js