Allow to create temporary objects with readonly sessions and readonly cards
Allow to create temporary objects with readonly sessions and readonly cards

Fixes #1719

Signed-off-by: Raul Metsma <8b52b6b714585648fd300da0dbc0fa0678553280@metsma.ee>

philipWendland/OpenSC,frankmorgner/OpenSC,rickyepoderi/OpenSC,Jakuje/OpenSC,CardContact/OpenSC,hongquan/OpenSC-main,LudovicRousseau/OpenSC,metsma/OpenSC,AktivCo/OpenSC,mouse07410/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,CardContact/OpenSC,frankmorgner/OpenSC,metsma/OpenSC,OpenSC/OpenSC,hongquan/OpenSC-main,philipWendland/OpenSC,frankmorgner/OpenSC,rickyepoderi/OpenSC,OpenSC/OpenSC,OpenSC/OpenSC,AktivCo/OpenSC,rickyepoderi/OpenSC,Jakuje/OpenSC,frankmorgner/OpenSC,hongquan/OpenSC-main,philipWendland/OpenSC,fabled/OpenSC,fabled/OpenSC,dengert/OpenSC,dengert/OpenSC,mouse07410/OpenSC,CardContact/OpenSC,metsma/OpenSC,dengert/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,Jakuje/OpenSC,AktivCo/OpenSC,Jakuje/OpenSC,mouse07410/OpenSC