Refactored Corto Bindings to work with SimpleSAMLphp