Do not copy config options when assigning db to entity

This was only needed because tests were changing naming strategy around with-db calls.