update authentication sample with arg 'token'

out-dated doc sample for authentication