I know I'm guilty of them, but I'm not the biggest fan of `except: pass` statements. Perhaps this could be rewritten as:

```python
try:
    auth = (unquote(parsed.username), unquote(parsed.password))
except (AttributeError, TypeError):
    auth = ('', '')

return auth
```

But, you know, with the proper indentation. ;)