Fix tc03_check_API_passwd_allow
[Issue#] SSDWSSP-559
[Bug/Feature] tc03_check_API_passwd_allow was failing randomly.
[Cause] SS needed to be restarted after clearing
opt/data/security-server/ folder.
[Solution] Fix bugs and adapt the test case to the new security
server in both smack and non-smack test versions.
Additionally, reset_security_server() has beed moved to
security_server_clean_env.cpp.
[Verification] Build, install and run the test case.
Change-Id: I38dbe9d2ea3c18f491b40817422ed922942fd831