First go at supporting partner authentication