Testing credentials helper.