Reworked passing of envars to Pinentry.