A method for testing the authenticity of a hologram, and reading device for performing the method