Script/plugin install from SVN url with http authentication

How can I use script/plugin install to access a SVN repository that
requires HTTP authentication?

I’ve tried:

script/plugin install http://[user]:[pass]@svn_rep/project/plugin

It works fine with the -x option, but obviously this is using
svn:externals

Thanks,

Russell.