Fix EZP-22840: InvalidArgument exception on user/login with subtree role limitation