Current tenant redirection fix

Fixing issues regarding the current tenant. The SDK was not following the redirection that it needed to follow after "/tenants/current/" was called.