Work on API Keys

Adaptation of admin of API Keys to new api class.