Basic Auth - rejecting pwd for second user/third users


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

I follow the example layout:

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?