Extract some ticket magic
Refactoring of Sessions#new and Sessions#create