[Bug 600780] [NEW] Login function needed in rest-client