- fixed missing message when login fails and no text is returned - replaced deprecated stuff from commons-lang3