Changelog: * Fixed exception when creating template projects * Added Security::impersonate to handle project creation