fix auto-login after register (missing provider)