if Pkcs11Provider is a AuthProvider, it is need logout
Created by: zsoltii
When sign more pdf (not in asic) with certificate and it need typing pin code for signature, before every pdf signing need to retype pin code (when sign about 100 pdfs or more it is not so good).
With this change, you need to type it only one time, at first.