modified url check to accommodate url-encoded username and password
Merge pull request #241 from b97pla/develop

modified url check to accommodate url-encoded username and password