AuthType Session Fix

Hi, My Query is related to the above pull request.

Currently I am using Kibana 6.7 with OpenDistro 0.9 . I am trying to authenticate Kibana through keycloak and OpenID and the issue comes when the access tokens do not refreshes and the page strucks till I reload the page.

I tried to copy the changes and see if it fixes the issue but the issue still persists.

Any suggestions on how to proceed further ?