Fixed pam session loosing