I didn't want to configure SSL. To get rid of this problem, the key lies in editing your configuration files ( /etc/cups/cupsd.conf ) and adding the following line:
DefaultEncryption Never
service cups restart
and everything should work it should ask you for a username and password.