Cleanup
Handle empty passwords in URL credentials

Closes #242