fix intermittently failing test (example seed 38255)
Add rake task to trim old sessions (over 30 days since last update)