improve openid provider implementation and add tests
improve gpc reader
update test
set protocol version to response
send response code and react on location header