added the use of url encoded chars in username and password