unittests: Fix expired key
Bacported: Some CURL error codes should be considered as fatal (RhBug: 1022994)