Not sure if I will word this issue correctly, but I have a problem where my pages are not secured/encrypted when accessed via https, and it seems that this problem is linked to extending a template controller.
The views that are returned via $this->template cease to be secured at the end of the request, while if I use 'return new \Response(\View...' the page is secured/encrypted.