No, Torem will not show up on a drug test. They only test for illicit drugs such as THC, Amphetamines, Methampetamines, Opiates, Heroin, Barbituates, MDMA, LSD, etc. Though, if you take your entrance physical's blood work too close to your cycle your hormones could be out of wack and that could bring up issues. Usually not suspected for drug use, but question your current health etc. I would def wait till awhile and get blood work done to check if all is good before starting your app process.
As far as the polygraph goes... It's hard to say if it will disqualify you. They may not even ask about steroid use, but most def will ask about drug use in general. Normally, getting caught in a lie with it is a big no no for them. Rule of thumb from everyone I know in law enforcement and federal agencies is to be honest... this is what they are looking for the most. Since Hdrol is not illegal, if you answer yes to it's use, you should be ok. Depends really on how competitive the position is you are applying for e.g. if it's between you and another equally qualified candidate and they are clean (which is the only thing separating you two) they will likely go with them.
Yes, poly's are not 100% accurate and yes they can be beat. HOWEVER, I would not advise going that route. It takes some serious training and most what you find on the internet is false. And as I said, if you are caught in lies or trying to beat it that will disqualify you. It is also fairly common for them to ask during the poly if you know how to beat it.
(fyi... I do have experience w/ them which is why I am commenting for you, and no it's not from the criminal side..lol)
Do you know anyone in law enforcement, that you trust to be open with? If so, talk to them. They'll be the best resource for you.