Similarly to D12222, added a dev-only button to perform primary device logout on native. It doesn't make sense on web
because calling the hook there breaks invariant (identity client method undefined, web cannot be primary).
For now, leaving two separate buttons to be able to test checks at lower level (e.g. server-side). But finally,
this will get replaced with a single button that performs different action based on the device being primary or secondary.
This is tracked in ENG-8550.
Depends on D12603