oauth: implement grant_type=password for single-page apps
This implements the OAuth "password" grant type so that single-page JavaScript apps (e.g. Pleroma FE) can cleanly authorize using OAuth.
This implements the OAuth "password" grant type so that single-page JavaScript apps (e.g. Pleroma FE) can cleanly authorize using OAuth.