Update security_default to add $cookieStayConnected parameters
Add saveCookieStayConnected function