Merge auth filters and cleanup,  implement the login command and CLI settings saving