Basic Auth - rejecting pwd for second user/third users

Hi,

I am creating my second user for Basic Auth as an annotation in a Container.

I follow the example layout:
Testuser:$$...,Testuser2:$$...,Testuser3:$$

I use the code in the example

 $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g

but only the first user that i created a while back works.

Can anyone please help me as to how to use this please?