wait for page loading to check authentication (#14575)
Log an error if both auth success and failure functions return true.
wait for page loading to check authentication (#14575)
Log an error if both auth success and failure functions return true.