Bug fixes for when pam_script_ses_open was moved.