[ADDED]    Added invalidate() to Security.

Added a method to security do invalidate the current authentication session.