Set secure flag & log exception

Make sure creating this cookie without the "secure" flag is safe here
Either log or rethrow this exception
Change this instance-reference to a static reference

Issue-ID: PORTAL-562
Change-Id: I4b6e07ec54ec038c0d584816791ed5169e618676
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
3 files changed