throw exception if token header is empty

#### Reviewers
@jframos @flopezag 

#### Description
FIX 401 thrown if token header is empty

#### Test
Tested locally
I assume that you are re-using some class for it. Correct?