update parser for new authentication format