adding tests for basic auth for gem download