fixed tenant user manager issues
Merge branch 'rc2' of github.com:WSO2Mobile/mdm into rc2