Allow to specify redirect method on login action

Allow to specify HTTP method used to redirect to openid server
Modified login() and _checkId()
Added phpDoc comments.