Fixes redirect urls for Registrations and Sessions