Test sign in with :as option
sign in returns session
constants are ugly
use ruby 2 goodness
ttl support