Add support for API token
created merge request !5 to address this issue
mentioned in merge request !5