Fixed uri for usernames and passwords that contain weird characters