better test output for cakefile
fixed auth fns and tests for new roles data structure