Get a code by email, choose a new password, then sign in as usual.
A code resets a password only for an existing account. Then sign in again with email and password.