fix failing tests (permission link was not being set)
finish porting perl authz tests; all passing