Fixing .getDelegationToken on wrong object