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
Merge pull request #3600 from ErisDS/author-helper

Fix the author context block