Declare missing syslog variables

Currently only used to log successful authentication in this function.
I'll add logging for failed attempts in later commits.
If syslog enabled, log all types of LDAP authentication failures.
Refactor syslog logging into new function
Merge pull request #154 from alexjfisher/ldap_syslog

Ldap syslog