URL Decode the path of requests
Send auth errors/logs to stderr/stdout
don't ignore all IO errors when dealing with authentication
handle some edge cases in Service