refactored way multiple user patetrns are handled in m_ldapauth.cpp