OAuth 2.0 Authorization Server written in PHP