fixes issue to work with djangosaml2