Fixing bug with error messages on failed 2 factor attempt