Error sending request for url(): error trying to connect

Problem solved.
You are right. I switched off firewall and proxy and the problem disappeared. Not so nice: Switching it on again, the effect did not come back.

For others who might overcome this problem:
The error message persists even when you give wrong login or wrong password. This means the program does not reach password check. The problem is before.

@dae: Thank you for your help.