add magic_auth_complete hook
Merge https://github.com/friendica/red into zpull