Added support for custom CAS routes. Previously defaulted to '/cas'

* Added support for custom CAS routes
* standardizes the code so it follows PEP8 styling conventions