Fix error in credential_factory
Fix error in credential_factory

project_domain_id and project_domain_name are not correctly referenced
in credential_factory. This patch fixes that.

Change-Id: I0ea96cbdb97c7bf3b4c385b5aa9d9db71f6bdab5

openstack/castellan,openstack/castellan