Creates a wrapper around an UserPassAuthenticator providing authentication lookup caching using the given cache.
Creates a wrapper around an UserPassAuthenticator providing authentication lookup caching using the given cache. Note that you need to manually add a dependency to the spray-caching module in order to be able to use this method.