Authentication helpers for Karaage