LDAP: only try LDAP authentication when the realm is configured

Created by  Andreas Rammhold  on September 12, 2020
5XJLDPTMRNYYCOM2PDRYK7TW66LKLQR3K5KOVPW7RYBJPR42XGSAC
Change contents