change after_fork code from production.rb to session_store.rb