Problem with windows authentication provider and RDP

I fix password decryption based on this:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/6e1ac74e-a2d0-427a-88d7-65935b08484e/getting-nla-credentials-in-a-credential-provider?forum=visualstudiogeneral

You can find a fork version of patched credential provider https://github.com/dbernaci/privacyidea-credential-provider