Writing this answer because I had this idea at some point, and the answers here were not satisfactory.
You have proved that P =/= NP under the presence of an 'Oracle' (this is the thing that tells if the password is right or not).
It has been shown you can actually not prove the original P vs NP by using Oracles (this technique is called relativisation).
In order to prove the original problem you have to define the Oracle in terms of a turing machine. In other words, you have to describe what the password verifier does with the input, and then prove that there is no algorithm that can guess the password given the password verifier code.
Note that you have to do this for any possible fast password verifier. The only requirement of the password verifier algorithm is that it runs in polinomial time with regards to the password length.
So given any possible algorithm that checks if the password is right or not in polinomial time, you have to write an algorithm that reads the verifier algorithm and tries to guess the password is in polinomial time. If you can prove or disprove that such algorithm exists then you have solved the problem.