Updating config unit test for unauthorizedFn

successfully checks to ensure that the unauthorizedFn is set to the
desired fn