Extracts the token extract id the access token exists or returning an empty extract
if there is no one on the context it may occasionally causes Unauthorized response
since the token extract is empty.
Fully customizable constructor for changing token type and header name, in cases of
Bearer and Authorization is not the default such as "bearer", "authorization".