Add support to keep login information.