Added logic to set default tenant identifier on hosted server other openmf.org

When app is hosted on server other than demo server, tenant identifier was set as first part of domain name, that may not be the case for most of the deployment, added condition to check if it is hosted other than openmf then by default set tenant as 'default'