Fix: wrong parameter returned in generateFrontendUrl.
Remove unknown parameter 3 from checkCredentials HOOK.
Add new HOOKs.