parse PINENTRY_USER_DATA for env vars to set

We need to set LD_LIBRARY_PATH, BOOTCLASSPATH in our env
for everything to work nicely. We also parse the user id
on multiple android tablets.