fixes for 'authorized pages' generator