Checks if the given api key is valid
Future<bool> validateApiKey(String apiKey) async { try { await _head('/api/login'); return true; } catch (e) { return false; } }