Zero-to-jupyterhub-k8s - The username (JUPYTERHUB_USER env variable) when using ldap authorization changed between 0.8 to 0.9 versions

We are upgrading from the 0.8 version to the 0.9.x version.
Our deployment is creating the user’s workarea after the user logs in.
We used to build it based on the username variable JUPYTERHUB_USER, however, now it contains
“lastname, firstname”
So for example, if previously a user named John Doe with a username of jdoe logged in, JUPYTERHUB_USER would be jdoe.
Now, at 0.9.1 we get JUPYTERHUB_USER=doe, john
What caused this change and is there alternative to get the right username before starting the notebook?