Logs out the currently logged in user. If no user is currently logged in it succeeds.
Utility method to avoid passing Unit argument to invoke