Fix a bug where grants were losing their mask after a character authorized

the application.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>