Fixes undefined method "sync_on_login?" for nil (#63)