To have ContaCam's client poll mode work properly in camera's web interface set http authentication to:
encrypted + unencrypted
unencrypted only

Attention: some cameras state they support both encrypted + unencrypted http authentication, but in reality only digest (which is encrypted) is transmitted in the WWW-Authenticate header. For those cameras unencrypted only has to be configured.