Added the option to define the port in the public endpoint separately.
Added the option to not configure a user. This is useful when the service user comes from LDAP.