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

Fix #16085 pam auth module was not closeing PamHandle hense there was memory leak.
pam_end doc: http://pubs.opengroup.org/onlinepubs/8329799/pam_end.htm