Added checks for user shadowing by means of the sql directory provider