pub fn authenticate_server_with_credentials( username: &str, password: &str, remember: bool, ) -> bool