Check whether AccessToken is not null

Otherwise the following header will be sent:
Authorization: Bearer null