The code change to support this was already made in transport_config.py, as part of templated become_user support (commit bf6607e27e, PR #1148). This commit adds tests to confirm the functionality.
bf6607e27e