fix tests broken by authorization changes