Add multiple-protocol support for isUsernameTaken and isLoggedIn