add Client.SetAuthCallback() and remove the Global_auth_callback hack