Check if type in PUT /authorization/sources/:type matches type given in body of request.
PUT /authorization/sources/:type
type