1. power off the pi, remove the MicroSD card, and put that in a PC.
2. Then in the drive called "boot", create a file named "octopi-password.txt"
3. In that text file ("octopi-password.txt") you only need the password you want to set for the "pi" user, nothing else. So it will be one word only in this file.
4. Now take the MicroSD out of the PC, install it in the pi and boot it.
5. You can now log in again using SSH, with username "pi" and the password you set in the file "octopi-password.txt".