Fix preauthorize tests