Fixes login with google and accounts can be linked