on successful magic-auth, put remote_service_class and remote_hub into the session