update resource authorize samples for cleaned up API