make pam login function available to other modules