FFJ-13 change appSecretProofCache to LRU cache
FFJ-13 refactoring