Switch authentication from session to cookies to maintain connexion. UI slightly refreshed.