The thing I would do is design the attached table, go into properties and copy the Description property from their and paste it into the connection property of the pass through query, you will need remove the table part from at the end of the description.
If you embed the User Name and Password then you should not need to open the table first.
If you are opening the table first then the connection is made so opening the query doesn't require the username and password so it doesn't fail, if you waited long enough the connection will be closed so you will then get the error again.
Cheers, Andrew