Move url-encoding of staging auth to config

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

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