Changed credentials key from "host" to "hostname".