Fix a bug in wiliki.auth