JWT deep link displaying login form

Installed a working version of readonlyrest plugin for Kibana. I could login to Kibana using JWT. But the deep link generated as given in the doc is still displaying the login form.
I am using this verison of readonlyrest plugin - readonlyrest_kbn_enterprise-1.18.3-pre5-20190724_es7.2.0.zip.

Generated URL:
http://IP-address:5601/login?nextUrl=/app/kibana#/dashboard/03d847f0-b785-11e9-adae-d587c0653878?_g=()&_a=(description:’’,filters:!(),fullScreenMode:!f,options:(
hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:18,i:‘1’,w:12,x:11,y:0),id:‘0e33def0-b783-11e9-adae-d587c0653878’,panelIndex:‘1’,type:visualization,version:‘7
.2.0’),(embeddableConfig:(),gridData:(h:18,i:‘2’,w:12,x:23,y:0),id:‘5af0f390-b783-11e9-adae-d587c0653878’,panelIndex:‘2’,type:visualization,version:‘7.2.0’),(embeddableConfig:(),gridData
:(h:18,i:‘3’,w:11,x:0,y:0),id:abb03a10-b784-11e9-adae-d587c0653878,panelIndex:‘3’,type:visualization,version:‘7.2.0’),(embeddableConfig:(),gridData:(h:18,i:‘4’,w:12,x:35,y:0),id:‘5e7b67f
0-b785-11e9-adae-d587c0653878’,panelIndex:‘4’,type:visualization,version:‘7.2.0’)),query:(language:kuery,query:’’),timeRestore:!f,title:‘Data%20Model%20Dashboard’,viewMode:view)&jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsInJvbGVzIjoiYWRtaW4iLCJpYXQiOjE1NjU3MDY5NjF9.s3InaxACS4FtkD4PEZ9xg6vC-2FceZFSko9OprELaCM

Please let me know if the query param for next URL is changed. The requirement is to use token based authentication so that the dashboard can be displayed in an iframe.