I wanted to order something on the internet. I had asked for a new password when I realised that I had lost it. But I haven't yet received the new password.
first action the decision to order something second action the forgetting of the password third action the asking of a new one fourth action the wait
Why not "asked" past simple. First you realised than you had lost then you asked for a new one. What I propose is
I wanted to order something on the internet. I asked for a new password when I realised that I had lost it. But I haven't yet received the new password.