[entropy.server] extended_dependencies_test: use SpmPlugin.installed_mtime()

Cache validation must use SpmPlugin.installed_mtime() as part of the
cache key when Spm() installed packages repository is used.