fix Redirect loop when changing default locale

Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>