Ref #611, change min. ver to 2.0 for db sessions

Since this code will only appear in sites on 2.1+ anyway, we can at the
same time account for users that would otherwise be bitten by #217.