Fix a bug that broke the authorize buttons in the available tab,...

... and make the authorize button in the management tab work.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>