This is a known issue, which will be resolved in future release of NSX.
For a workaround that resolves the issue for LDAP and local users, use only special characters defined in ISO-8859-1 character set in usernames and passwords:
!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~
If a username or password cannot be changed, an alternative workaround will allow correct processing of all special characters for LDAP users. This workaround will not fix the issue for local user.
cp /opt/vmware/proxy-tomcat/webapps/ROOT/WEB-INF/web.xml /root
<!-- Initializes API leader manager -->
<listener>
<listener-class>com.vmware.nsx.management.api.leader.ApiLeaderInitializationListener</listener-class>
</listener>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>
org.springframework.web.filter.CharacterEncodingFilter
</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>false</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
su admin "restart service auth"
In relation to the workaround, please note the following: