Accept new key if user has logged through a legacy token (fix #102)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>