Split out common code to fetch the past orders list into it's own method.
Include the statusCode when login fails, if it's >= 400.