Fixed credentials breaking on passwords containing the character ':'.

Fix for #41.