Detect remote_user change in accelerate daemon and allow a restart

Fixes #5812