Modified ssl certificate authentication to handle next redirection
Makes small changes in lms and cms both so that user's go to the
original page they intended to if they weren't already logged in
Fix infinite redirect loop on logout caused by django caching
Merge pull request #2768 from carsongee/cg/ssl-next-url

Modified ssl certificate authentication to handle next redirection