Fixed auth test for the local auth exception in 2.8