if ( ( $line =~ /Entering UPAuthModule::authenticate/ ) .. ( $line =~ /Sending Invalid credential/ ) )