NN-10715 | As acquia_connector 8.x developer I want to implement the same authentication mechanism as in 7.x