Revert "SSL key based auth instead of basic auth."

This reverts commit a9bbb5612210aec529e8dc4be5472873336281d6.