Added support for API Key/Pass login