Add panic if credentials are nil