tests for authUtil.js, istanbul coverage