logind: only release logind session from the PAM module if the same module instance actually created it