Fix persona login bug, by copying persona-cookbook example