Move client recorder utility to core
Prefer username to givenName or uuid