Support remote user management and user credentials grant type

Code was written by Sanel and originally pushed to:
ymc-lab/sanel.mesinovic/ymc-oauth2-server
Latest commit was: 5d5293f09fb38bc4bd7f0475b15e73ed82dd26b1