Handle redirection bug, on oauth server,  when 'redirect_uri' is invalid.