Fix for #285
Merge pull request #289 from gjb2048/master_shibboleth

Fix for #285