helper for logging into docker images