Not able to configure IAM with an external database