Maybe so that Mr. Glass could prove to someone non-technical that he wrote it by providing the passcode directly, whether to friends or family for "cool points" or in a legal dispute over authorship/credit/royalty rights.
Thanks. Now that you mention it, I think your scenario is 100% right! The code was long exactly because no one was ever supposed to find it, it was supposed to be for the author to use.