pub fn hash_username_for_login(username: &[u8]) -> LoginId