Remove some stale backend code for db, update ssl settings.