Ends the current authentication session. This function has no effect if the current session is not authenticated.
This function provides a wrapper around the database command “logout”.