Explicitly return null when getUser is empty

1 job for 33-deleting-user-and-going-back-to-index-page-causes-error in 2 minutes and 21 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed frontend #17490

00:02:21