Auto login after successful registration