Update AuditManager.php

Changed $config and $metadataFactory to protected rather than private for extensibility