use ra connection factory from RA when connectionfactoryLookup is set
Merge pull request #1178 from andytaylor/master

use ra connection factory from RA when connectionfactoryLookup is set