Correctly resolve replacement tokens when using a Template in combination with Credential Picker

Have a template which has “Specify a credential name set to an existing credential”

In the template use $this.EffectiveUsername$"

From a connection do “Connect with template” and use this template.

=> $this.EffectiveUsername$ gets correctly resolved to the chosen credential.

Have a template which has “Specify a credential name set to ?”

In the template use $this.EffectiveUsername$"

From a connection do “Connect with template” and use this template.

You get the Credential Picker menu => you select a credential

=> $this.EffectiveUsername$ does not get resolved to the chosen credential.

This was already discussed with support but they see this as a feature request and not a bug. This is why i create this here.