Bugfix; handling security error for remote access.

Jira issue: HUBWH-6
Fixed call of remote db find.

Jira issue: HUBWH-6
Merge pull request #21 from steverc/HUBWH-6-midwifeFix1

Hubwh 6 midwife fix1