Fix incorrect usage of log_message()
Fix compilation error without PAM
Fix password authentication to handle different encryption algorithms
Merge pull request #64 from imprazaguy/bug_fix_nopam

Bug fix for building without PAM