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 Job ID Name Coverage
  Build
passed #17490
frontend

00:02:21