modifyPrincipal now sets the mask to 0 if it is not given a mask, rather
than passing along the undefined mask. This directly affected the
disablePrincipal and enablePrincipal functions, which would call
modifyPrincipal without a given mask and led to problems on my system.