pub fn authenticate_server_with_credentials<U, P>(
    username: U,
    password: P,
    remember: bool
) -> bool