Implemented bearer token authorization

We’ve added an ability to pass tokens in headers (bearer token authorization). It’s also still possible to pass on the token as the query parameter of the request, however, we strongly recommend passing tokens in headers from now on.