Prevent error in test index page when no cookie has been set yet