Convert port number to string
Only unset password, if we have set it.