Updated oauth2-server script to use Moped