base url change and open_uri_redirections gem