Refactor extract code to function in auth.py

Code for applying filters to the urls in the KeystoneV*AuthProvider
classes was copy-pasted. Extracting the copied code to a function so
that fixes can be made in one place.

Change-Id: I6b1029d2004fe0208519b506c2751390a6c49569
2 files changed