PAM module for simple authentication by a smart card