Does the temporary password expire?

No.