fix login after register in static signup