Change expectation depending on client mode
Change expectation depending on client mode

CC does not include the actor name for client events because clients
dont have a user name in their tokens. We still want to assert that the
user name shows up when there is one so we now assert based on the test
mode.

Co-authored-by: Eli Wrenn <0a41924cabfa000cd7baec4cd10fadeb2f8e7ed3@pivotal.io>
Co-authored-by: Mona Mohebbi <7eec3947ecb8a564875c5a07df13810a4b761e82@pivotal.io>

cloudfoundry/cli,cloudfoundry/cli,cloudfoundry/cli