If a username contains string "api" and the privilege is "nx-api-reader" for the user then we get an error in the nexus 3.29.2-02 UI upon login.
Steps to Reproduce:
1. Install Nexus 3.29.2-02.
2. Create a user with name containing string "api" like "api-XXX" / "api_XXX".
3. Login to the Sonatype Nexus Repository ManagerPRO 3.29.2-02 UI. (even in incognito mode) we get the Error as following:
- Either refresh the web browser and the error disappears.
- Or Rename the user to some other name.
- Username can be anything so we should not see such error when logging in to nexus UI.