Adding test coverage for remote-user auth