I know exactly what you are talking about but I don't know the title, either. I've been trying to find it for years. I thought it had Frances Sternhagen in it as the aged, future version of the hero's girlfriend but I don't see anything in her credits that matches.
One thing I clearly remember is the hero gets caught by the cops/military and taken to a briefing with other captured people. He learns that he will only be allowed to shower once every 10 days.
It ends with him waking up from his dream/going back to his own time. He sees a leaky faucet and turns it off because he wants to do what he can to prevent the hellish future he saw.
Sound familiar?
yeah that's it, we're clearly on the same page. but damn i want that name lol