[SD-714] [SD-718]: app initialization fails because of superdesk.isLDAP(). This is fixed.