Modify server_track to handle being called without a request.

@rocha @mulby Here's a more minimalistic fix for AN-361.  I'm splitting off the changes to add tracking context from a command into a separate PR, since that part is not required to be able to run create_user, and seems to engender more discussion.