Change template to honour server ciphers (best practice) and give defaul...

...t of 300s lifetime to session cache