throw exception if token header is empty

#### Reviewers
@jframos @flopezag 

#### Description
FIX 401 thrown if token header is empty

#### Test
Tested locally
yes