Fix #16085 pam auth module was not closeing PamHandle. moreinfo: http://pubs.opengroup.org/onlinepubs/8329799/pam_end.htm
Merge pull request #17104 from avdhoot/fix_#16085

Fix #16085 pam auth module was not closeing PamHandle hence there was memory leak.