Bugfix in redirecting.

Now getting API Version from veritrans object instead of the database.