[GEOS-6065] Build failure in MemoryUserDetailsServiceTest