Try isql with -X option
isql -U${USERNAME} -P${PASSWORD} -S${SERVER_NAME}
-w1000 -X
exec sp_addlogin <LOGIN_NAME>,<PASSWORD>,<DATABASE>, ...
go
-X specifies that, in the connection to the server, the application initiates the login with client-side password encryption
HTH,
Learner