gitlab: Adapt requests retry policy to consider HTTP 50x status codes
Temporarily server failures can happen when listing a GitLab instance, HTTP status codes 502, 503 or 520 are returned in that case.
So adapt lister requests retry policy to execute requests again when such errors are encountered.
Related to #3442 (closed)
Migrated from D6020 (view on Phabricator)