Add support for different ways of sending access token