Openfire already supports this, so Spark could also support such login method. Could be useful for some users.
Merged https://github.com/igniterealtime/Spark/pull/276
But there is a problem with the new checkbox vanishing after the first time.
Added Lithuanian translation https://github.com/igniterealtime/Spark/pull/277
The issue with checkbox disappearing will be fixed in OF-1258.