Use NSURL methods instead of CFURL functions

* Replace `CFURLCopyUserName` with `-[NSURL user]`
* Replace `CFURLCopyPassword` with `-[NSURL password]`