Add support for access token

I haven't been able to test this yet unfortunately