APF-1369: Fixed add user error in Tomcat.