Refactor login, fix issue #4

Also got Savon cookies working properly