Authentication skip was always set to the default value, ignoring the setDefaultBehaviors() parameter.
LP #1169923: Fix checkPermission() in C implementation when ownerous and/or authenticated is set.

checkPermission() from C implementation actually calls checkPermission() from
Python implementation. But as ownerous and authenticated were only set
internally in C implementation, both were set to their constructor default
values in Python implementation and thus were completely ignored.
Merge branch 'arnaud-fontaine-master'
Changelog for LP #1169923.