remove quotes from withCredentials