Fixing CI errors

I identified the reason tests were failing in CI - a simple mixup in an elsif condition caused it to look for TOTP success when TOTP was nil (that is, the account did not have TOTP enabled).
Fixing this caused the tests to pass locally, so they should pass in Gitlab as well.
1 job for development in 15 minutes and 14 seconds
Status Job ID Name Coverage
  Test
failed #224453840
rspec-integration

00:15:14

 
Name Stage Failure
failed
rspec-integration Test
rspec ./spec/requests/totp_2fa_accounts_spec.rb:409 # Totp2faAccounts User cannot disable TOTP using an already used recovery code
rspec ./spec/requests/totp_2fa_accounts_spec.rb:428 # Totp2faAccounts User cannot disable TOTP using an expired TOTP code
rspec ./spec/requests/totp_2fa_accounts_spec.rb:448 # Totp2faAccounts User cannot disable TOTP using an incorrect TOTP code
rspec ./spec/requests/totp_2fa_accounts_spec.rb:477 # Totp2faAccounts User cannot bypass TOS acceptance when TOTP is enabled
rspec ./spec/requests/admin_reports_search_spec.rb:455 # AdminReportsSearch Admin can search all reports with a ending reported time before the current system time
rspec ./spec/requests/admin_reports_search_spec.rb:489 # AdminReportsSearch Admin can search all reports with a starting and ending reported time before the current system time
rspec ./spec/requests/admin_reports_search_spec.rb:605 # AdminReportsSearch Admin can search all reports with multiple fields filled in

ERROR: Job failed: exit code 1