redis_session.py small fixes

issues when using self.session_expiry