Change invalid redirect URLs to redirect to /login