WAI authentication
Merge pull request #53 from xenog/auth-wai

WAI authentication