pam_ssh: restore credentials before exiting from pam sm open session

This udpate fixes the following issue with pam_ssh:
- bnc#823484: restore credentials before exiting from pam sm open session

Fixed bugs
bnc#823484
pam_ssh stays as user if no session tty
Selected Binaries
openSUSE Build Service is sponsored by