Fix the author context block

fixes #3599

- If the author helper is called as a block (i.e. fn is present) then
  treat it as a with call