fixed registration with oauth2 method and closed forum mode