tests: Fix SecurityTestCertificateCache (extra sleep is required on Linux platform)

Change-Id: I77f24f630697b6e41b3d935f0f1416e806516412
Refs: #2152