Security - Login problem due to cookie expiration date