500 error - when accessing /admin/application_settings/advanced_search

Hey guys. I’m configuring the elasticsearch integration, I did my part on the ES side, all good. Then, when I entered the URL in those text fields, then the user & password and clicked on Save Changes I now get an HTTP error code 500 whenever I try to access the URL ( /admin/application_settings/advanced_search). The error when checking the logs (or by doing this: gitlab-rake gitlab:elastic:create_empty_index) is the following:

URI::InvalidComponentError: bad password component

I assume that since the password contain some special characters I had to escape them, however the web application didn’t do a good job here by letting me know (if my guess is correct). I need to find a way to reset this setting to put a new password so I can enabled the advanced search with elasticsearch later.