Authorize/Unauthorize commands

Added support for authorize/unauthorize commands.
I use it to move an agent between more powerful developer's computer during the day and less powerful server during the night. Unfortunately, developer computer is not available at night and the server is rather busy during the day.