RUBY-657 Add support for URI encoded usernames and passwords