MDL-58898 oauth: Cover orphaned linked logins in unit tests