Prevent fatal error if access token data is array

Fix #239, closes #240.

@asm89 This is bugfix, what do you think?