Add some test coverage for remote authentication support.