Add patch for LDAP module

Fix error message: Trying to get property of non-object in ldap_authentication_init()