cleanup pam_get_agent
pam_envoy: allow setting the agent type