Merge pull request #549 from johnburbridge/issues/544_forceBindingLogin

Fix for Issue #544 - can't auth with ldap unless anonymous search is allowed
Handle null metadata value in log event for #589