Move url-encoding of staging auth to config

Ensures the URL-safe values are used both in url_generator and in stagings_controller

[#71526114]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>