Place all template directories in user group (Fix #10458)

In order for the same user to be able to access all of the
date-based template directories from multiple groups, they
must be placed in the user group (id=1).