The past tense of have the bad luck is had the bad luck.
The third-person singular simple present indicative form of have the bad luck is has the bad luck.
The present participle of have the bad luck is having the bad luck.
The past participle of have the bad luck is had the bad luck.