Add check for authenticate_or_request_with_http_basic

As requested in #301.

Also had to add tracking of calls with blocks to the CallIndex.