sso: Fixes for regressions after adding captcha and axes
Created by: JosephKiranBabu
- Change sso refresh url to refresh-pubtkt since refresh was conflicting with captcha's image refresh url.
- Fix datetime.timedelta calculation for refresh interval. Now validity of ticket is 30 seconds as it was intended to be. It was wrongly set to 30 days earlier.
Signed-off-by: Joseph Nuthalapati njoseph@thoughtworks.com