fix login weirdness for accounts that need to be approved