Fix when credentials are blank