[client] Forbid some invalid history transitions

It shouldn't be possible to move from the "create transaction" page, or
the "budget" page, to the same page but for a non-account view.
1 job for forbid-invalid-history-transitions in 3 minutes and 45 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #1329558
ci

00:03:45