Fixed custom auth/authz bean discovery (refs BZ1122594)