Fixed error in "delete user" test case

When searching for a user, the global "user" variable was being updated with the
returned data. That returned data doesn't include a token, which is what's
needed to delete a user from the database (don't want random users deleting each
other, now do we??). That's been fixed, and now a local variable is created to
hold the queried data.