Fix Messaing authentication method