Set Agent policy according to user provided by test case
[Bug] On some occasions tests failed randomly.
[Cause] Some images (ex. mobile profile on RD-PQ) had other
services running in the background, which asked Cynara
for privileges during tests. This caused an incorrect
behavior of getAgentRequest function (timeout was expected
to launch client on separate thread, instead a request
was successfully processed and no timeout occured).
[Solution] User in CheckData structure now does not depend on a minor
number.
setAgentPolicy() has additional argument - user, used to
filter incoming requests.
[Verification] Build, install on RD-PQ, run tests multiple times.
Change-Id: Icccf09b8a72929145f624242ace14a60076761a4