Added authorization to environments

It is necessary for API some calls