Fixing issue #22 "Unable to login".
Ready for v2.2.5