Your agreement (lease) with the owner has no relation with the owners agreement (mortgage) with the bank. So continue to pay rent, there are much stronger controls to protect renters now and the lease will remain in effect even after foreclosure with the new laws on the books. If the property goes into disrepair because of the LL being in a bind then you are able to break the lease but being behind on payments or in foreclosure isnt enough to break the covenant of quiet enjoyment.
I thought if my LL issues persisted back then I would give notice when my lease was up but not pay the last month rent, that way the LL would have to come after me for the difference between the security deposit and any damages + rent they listed. This way I was assured of getting my security deposit back. I was planning on paying for any legitimate damages listed and not making a court fight over it.