Apply patch provided by Ruwan to fix APIMANAGER-1427

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180501 a5903396-d722-0410-b921-86c7d4935375
fix for issue IDENTITY-967

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180502 a5903396-d722-0410-b921-86c7d4935375
Apply patch provided by Ruwan to fix APIMANAGER-1427

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180503 a5903396-d722-0410-b921-86c7d4935375
Apply patch provided by Ruwan to fix APIMANAGER-1427

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180504 a5903396-d722-0410-b921-86c7d4935375