* authorize: add policy error details for custom error messages * remove fmt.Println * fix tests * add docs