change username to sid in remote auth backend