Make OAuth token endpoint work with HTTP Basic auth