Fix favorite count detection where user has https turned on.

When https is on, favorite links are absolute, so we have to check whether they contain /favorited/ instead of whether they start with /favorited/.