ok i am unsure if this is a bug or not but i accidently found a way to get past the password unlock for the gallery and for some reason it works however it requires playing the game before and unlocking the gallery in that playthrough aka a different version of the game example v.9 and the now 1.0 lets say you found the secret code in v.9 and save your progress at that point in time and it updated it now has the gallery still unlocked without having to play the game anymore when you load the game again
(hopefully you understand what i put here if not ask me again for a better explanation)