Fix copydb test to work with new auth