Getting text messages from the US?

My US bank insists on identifying me online by sending a text message to my US phone (T Mobile), which I have with me here. I used to be able to get the text message here, but about 6 months ago it stopped working. Does anyone know how to solve this?