Complete finding password logic.