Bug fix for building without PAM

When configure with --enable-nopam, some codes still use PAM-related codes, leading to compilation error in system without PAM.
The authentication in "sesman/verify_user.c" only handles MD5 (encrypted cipher prefixes "$1$") encryption. It fails on system using other encryption like SHA-256 (encrypted cipher prefixes "$5$").