Make sure that a newline is always at the end of messages returned by perl style formatting functions. Add owl::login to legacy variables populated for format_msg.