Fixed an issue where tenantDomain comes as null
Merge branch 'rc1' of https://github.com/WSO2Mobile/mdm into rc1