Fallback to ENV

rails_config isn't initialised early enough for devise so we need this
do devise doesn't throw an exception on startup.