Has anyone else noticed that {% if config.plugins.login.enabled and grav.user.username %} has stopped working? I've tried using {{dump(grav.user)}} and looking at the debugger but even though I'm logged in it shows:
Grav\Common\User\User {#105
#gettersVariable: "items"
#items: array:5 [
"username" => ""
"state" => "enabled"
"authenticated" => false
"authorized" => false
"language" => "en"
]