Backport some obvious fixes for the core from Bacula 7.
Fix wrong call of acl_access_ok

A typo in calling acl_access_ok was fixed.

Fixes #327: "No authorization for Client" on any operations from BAT.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>