Added Api::updateOptions and Api::authTokensAvailable methods to support manual API host setting in login form.