Removed use of pid_cycle file and ENVIRONMENT macros
[Bug/Feature] Security-server client tests failure with smack disabled
while test environment preparations
[Cause] pid_cycle file was created in a nonexistent directory.
Moreover, this file seems to be unused in any way
further and not deleted either.
[Solution] Get rid of pid_cycle file usage. In addition,
ENVIRONMENT and ENVIRONMENT_NOSMACK macros were deleted
in favour of drop_root_privileges function for nonsmack
tests and AccessProvider class for smack tests.
There were also duplicated tests about security server
cookies - they were moved to cookie_api.cpp.
Tests run as app user in cookie_api.cpp are now distinguished
from others with changed name having "_app_user_" string.
[Verification] Build, install and run tests, i.e.:
security-tests.sh ss-server --runignored --output=text
security-tests.sh ss-clientsmack --runignored --output=text
Change-Id: I68ad3f0bb12f437fa927660327c5e44f91e91446
Signed-off-by: Sebastian Grabowski <s.grabowski@partner.samsung.com>