Added redirects for urls '/api/login/key' and '/api/register/<key>', this allows changing the login/registration form implementations without updating applications