[SD-717] Moved to LDAP_USER_FILTER to os.environ - Fixed failing tests