def _testClear():
authorize user based on API key if it was passed, otherwise just use the request's user.
dataset/ETHPy150Open typesupply/defcon/Lib/defcon/objects/base.py/_testClear--crossover with--dataset/ETHPy150Open hydroshare/hydroshare2/ga_resources/utils.py/get_user