Added OnBeforeAuthorizeConnect logging
Merge branch 'dev'