Prepare for SECRET_KEY_BASE setting

Set secret_key_base in tests to get rid of the deprecation. It will not
be set in other environments unless it is opted-into by setting the
environment variable. See:
http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#action-pack