Fix auth failure with combo of username and url