Openam does not like slashes

This is needed if the provider url does not contain a slash, like in the case of OpenAM. This makes the code work, due to the last change.