commenting out two-factor authentication because it's broken. Someone with more knowledge than me will have to fix it but login has been broken for quite some time and this is a temporary workaround