Avoid deprecation warning for old-style of setting primary key.
Get tests passing for signed auth cookie