When creating a user plugin with Realms, Artifactory 5.x fails to log in with the user upon using the plugin.
Steps to reproduce:
1. Start Artifactory as HA
2. Create a simple user plugin with realms:
3. After the plugin loaded, try to enter with a user. You will not be able to login to Artifactory. No exception is being thrown. In the developer console you can see a 500 error with the user scope.