TRENDNet TV-IP310PI IP Camera POE

I am finding more and more webcam manufacturers are steering clear of using basic authentication…sending login details with the request like your first example…because it’s clear text & anyone can easily intercept your credentials.

Digest authentication, while not totally secure, does not send credentials in clear text and is much harder to intercept.