adding getAuthToken method, required for http requests that use auth tokens