Haven’t tried it myself yet but this is probably related to https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/issues/159.
The post states that you have to add
...
config:
jwt:
expiry: AUTO+1440
to the config.yml
Regards
Clifford