If you have verified that the current license is a valid trial license and have installed the X-Pack plugin in Kibana (including restart), I would verify that you have also installed X-Pack on Elasticsearch and that security is enabled in the Elasticsearch config. If all of that is OK after a full restart, I am not sure what else could be wrong.