Test exposing bearer token issue