Added extra password check for LDAP vs AD (see http://forums.activiti.org/comment/22312) - UI side