Pathauto and forum paths
I believe this is due to the issue reported here: https://www.drupal.org/project/drupal/issues/2010132. See the patch in comment #107 for a patch.

I've confirmed that the patch applies to the current Drupal 8.4 branch, the tests pass, and the aliases get generated as expected.