Maybe it's worth to enclose the username and password into "", to avoid characters with special meaing (as [;& ] to cause troubles. Maybe would be good to have some helper method for bash escaping available in the tempalte engine, but that's outside of scope of this PR