Fixed not working cookieExpire and cookieDomain.