Add support for handling wifi authentication failure