Fixing oauth temporary basic auth authentication.