added authority option to sorcery generator (prepares authorization)