Simply login with your username and masterpassword then enter the passcode generated on your old device when you login to the app.