Add authorization management commands and unit tests