Can't login after restoring

Was the old site https and this one is http? If so you need to enter the rails console and

SiteSettings.force_https=false