Advice from Rage4.

[12:34:10 AM] Piotr Ginalski: [...] CURLAUTH_BASIC sometimes doesn't work