fix withCredentials()

my bad
add default Accept-Encoding. Closes #155