Enabled security in standard project, added more security related unit tests.
Fixed NPE and improved logging on authentication failures. Added more security unit tests
Fix: keyExists for data services should always execute in sudo context. Also added assert for serialization microflows.