bitbucket: Fix request to get next page of buggy page
The bitbucket Web API to list repositories has buggy pages that needs to be skipped to continue the listing. Previously the request to get the next page when a buggy page is detected was missing the after query parameter so the request was always returning the second page of repositories listing endpoint. Also refine buggy page detection by considering all HTTP status code >= 500.