AuthTokenIssues: added getAuthToken() and fixed the media raw function