Update test to use modern auth delegate method