Fixing a bug in Authorization Manager