Changed authenticate() to authenticate(username, host, password)