Escape credentials where needed.. (Badly..)