Fix test to check responce code on CM authorization