fix: Client: Disconnect after stream restart in Login mode

RFC 6120 states that ending the stream after successful auth is not
allowed because the stream is considererd ended. Sending </stream:stream>
would run into a parser error. So we restart the stream and end it afterwards.
2 jobs for master in 54 seconds (queued for 2 seconds)