Removes username, port and host from memory