Fixes a bug where pages wasn't using access token