implement provider with basic bearer authentication