Fixed exception with blank redirect_uri(blank string)