Fix user not allowed to delete itself if user

**Note: the only code required for the fix is in role.js:203**. The
other changes are to help organize debug output.