Fix segfault on reauth, reusing buffer for url
Merge pull request #3 from rampage644/auth

Fix segfault on reauth, reusing buffer for url