Finish auth function with pam methods