Redirect with auto-login after register