refs #6913 fix logging report perm
fix test script (email api)