seamless login when apiKey exists for local dev