Fixed bug in parsing authentication challange header