make server tests compatible with SQLAlchemy 0.9

Change-Id: Ide13d020c387792ac818fd7928c6d206a1f2a734