Completed unit tests for ev-script/util/auth.js