fixing a bug with view_account in rest authorizer