3

(This is meant to be a comment on MechMK1's answer but I don't have enough reputation)
What about encrypting the login-protected information with the login details? Say, hash a string like "[correct-username] + [correct-password]" and use it as a key to encrypt the protected content on the serve...