[CB-4340] Query device for PIN

- Add utility function to target-utils.js
- Update run to query for PIN before updating debug token