Fixed TRUNK-4479: EncounterService.getEncounters should use Person not User for providers

I fixed the hibernate restriction for providers so that it accepts Person ids instead of User ids