[Security] Fixed encoder reference
[Security] Fix typo in chain provider entity
[Security] Used more explicit name
[Security] Fixed my_in_memory_provider
Merge pull request #2349 from lyrixx/patch-ref-sercu

[2.1][Security] Fixed typo + some enhancement