Halogen light stops working when cover is installed
Sounds like you have a connection problem. Ever try pushing on the light without installing cover to see if it will flicker or anything like that?  This would indicate a loose wire connection.