Allow users to specify expected status code, so private sites do not always error out on 403.