Fix functional test

Delete cookies and then refresh current page. This will ensure on the page we won't have any logged in user.